package com.jeesite.modules.task.receive.dao;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.entity.Page;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.home.entity.DcSupTaskActionExplain;
import com.jeesite.modules.task.feedback.entity.DcSupTaskFeedback;
import com.jeesite.modules.task.receive.entity.TaskReceiveDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 任务过程审核表DAO接口
 * @author zrr
 * @version 2022-03-02
 */
@MyBatisDao
public interface TaskReceiveDao extends CrudDao<TaskReceiveDto> {

    List<TaskReceiveDto> listDataHis(TaskReceiveDto taskReceive);

    List<DcSupTaskFeedback> getFeedbackList(String id);

    List<DcSupTaskActionExplain> getLeaderExplain(DcSupTaskActionExplain dcSupTaskActionExplain);

    List<TaskReceiveDto> feedbackListData(TaskReceiveDto taskReceive);

    void updateFeedbackTime(DcSupTaskFeedback feedback);

    List<DcSupTaskFeedback> getfeedbackListById(String id);

    List<DcSupTaskFeedback> getFeedbackListByIds(@Param("ids") List<String> ids);
}